/**
 * Created by Administrator on 2017/1/7.
 */
import Vue from 'vue'
import Vuex from 'vuex'

//root级mutations
import mutations from './mutations'

//root级actions
//import actions from './actions'

//root级getters
//import getters from './getters'

Vue.use(Vuex);

const state = {
	showfooter: true,
	cur_act: false,
	cur_rank: false,
	cur_bonus: false,
	tea_act:true, //教教师 活动
	tea_rank:false, //教师排名
	tea_score:false, //教师积分
	stu_jifen:0, //学生积分
	stu_paiming:0,//学生排名
	tea_jifen:0, //教师积分
	tea_paiming:0,//教师排名
	tea_id:'', //教师id
	tea_name:'',//教师姓名
	class_id:'',//班级id
	school_id:'',//学校id
	school_name:'',//学校名称
	stu_id:'',//学生id
	stu_name:'',//学生姓名
	token:'',
	city_id:'',//城市id---三门峡id
	opendate:''//语文开通时间
};

export default new Vuex.Store({
	state,
	mutations
})